﻿@using FCTC_Web.Models
@model Shop
<dl>
    <dt>
        @if (Model.Imgs != null && Model.Imgs.Count > 0)
        {
            <a href="@Model.MainPageUrl" target="_blank">
                <img src="@Url.Action("ShowImage", "Image", new { id = Model.Imgs[0].ID })" width="44" height="36" alt="pic" />
            </a>
        }
        else
        {
            <a href="@Model.MainPageUrl" target="_blank">
                <img src="/images/moren_shop.jpg" alt="" />
            </a>        
        }
    </dt>
    <dd>
        <p>
            @Model.FullName</p>
        <p>
            @Model.ContactNumber</p>
    </dd>
</dl>
